import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { RouterProvider } from "react-router-dom";
// 导入路由规则router
import router from "./router/index";

createRoot(document.getElementById("root")).render(
  <StrictMode>
    {/* 路由绑定，将路由应用到应用中 */}
    <RouterProvider router={router}></RouterProvider>
  </StrictMode>
);
